home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 125 / CD Gamer Issue 125 (August 2003) (Disc 1).ISO / Utilities / BF1942 editor / data1.cab / Program_Executable_Files / readme contentCheck.txt < prev    next >
Encoding:
Text File  |  2003-06-05  |  2.3 KB  |  57 lines

  1.  
  2. ------------------------------------------------------------------------------
  3. Battlefield 1942 version 1.4: CRC content check
  4. ------------------------------------------------------------------------------
  5.  
  6. Background
  7. ------------------------------------------------------------------------------
  8.  
  9. DICE has rewritten the CRC checking system to let server administrators decide
  10. if they want to allow client side modifications on their servers.  The system
  11. is based on the game.serverContentCheck server setting and a number of
  12. contentCrc32.con files. 
  13.  
  14. The serverContentCheck variable can now take on three values:
  15.  
  16.   0 - All clients are allowed.
  17.   1 - Only clients with default installations are allowed.
  18.   2 - Only clients with installations matching any of the server-defined CRCs
  19.       are allowed.
  20.  
  21. The conentCrc32.con files are parsed by the server to load a set of CRCs that
  22. will be considered as valid. As clients connect they will be checked against
  23. these values. The CRC files reside in the directory of each mod.
  24.  
  25. Generating CRC data for mods
  26. ------------------------------------------------------------------------------
  27.  
  28. If you decide to allow a certain client side mod, or if you need to generate
  29. CRC checksums for a client/server mod follow these steps:
  30.  
  31.  1) Use a client installation of the mod you are working on.
  32.  
  33.  2) Run the following command from the bf1942 install directory:
  34.  
  35.     bf1942.exe +generateMapListForCrcContent 1
  36.  
  37.     This will instruct the game to write out a batch file called
  38.     "mapListForCrcContent.bat".
  39.     
  40.  3) The batch file contains commands to generate CRCs for all maps of all mods
  41.     which probably isn't what you want. Therefore, edit the batch file with a text
  42.     editor to include only the maps you need.
  43.  
  44.  4) Run the batch file from the bf1942 install directory:
  45.  
  46.     mapListForCrcContent.bat
  47.  
  48.     The game will start and stop once for every map in the batch file. As
  49.     levels are loaded, their calculated CRC checksums will be written to the
  50.     contentCrc32.con file of the current mod. If you need to run this serveral
  51.     times please note that values are appended, not replaced. Therefore it can
  52.     be useful to keep a backup copy of the original contentCrc32.con file to be
  53.     restored before generation.
  54.  
  55.  5) Copy the resulting contentCrc32.con files to the server.
  56.  
  57.